#!/usr/bin/env python
#coding=utf-8

class student:
	population = 0
	def __init__(self, name, gender):
		self.name = name
		self.gender = gender
		student.population += 1

	def sum(self):
		print "name is %s, gender is %s: " %(self.name, self.gender)
		print "population ", student.population

def test():

	one = student('one', 'male')
	one.sum()

	two = student('two', 'male')
	two.sum()

if __name__ == '__main__':
	test()

'''
析构函数： __del__
内部文档属性: __doc__
'''